<template>
  <ul>
    <div v-for="(item, index) in data" :key="item.id">
      <slot :row="item" :index="index"></slot>
    </div>
  </ul>
</template>

<script>
export default {
  props: {
    data: {
      type: Array,
      required: true
    }
  }
}
</script>

<style>

</style>